package Atm01;

import javax.swing.*;
import java.awt.*;

/**
 * 取款界面
 */
public class GetPanel extends JPanel {
    private JLabel  getmoneyLabel = new JLabel("取款金额：");
    private JTextField getmoneyField=new JTextField();
    private ImageIcon sureImg= new ImageIcon("Images/buttonSure.jpg");


    private Font font = new Font("黑体",Font.BOLD,30);

    private JButton sureBth= new JButton(sureImg);

    public GetPanel(){
        this.setLayout(null);
        sureBth.setBounds(580,300,150,50);


        getmoneyField.setBounds(400,200,330,50);
        getmoneyField.setFont(font);

        getmoneyLabel.setBounds(250,200,400,50);
        getmoneyLabel.setFont(font);
        this.add(getmoneyField);
        this.add(getmoneyLabel);
        this.add(sureBth);
        this.setOpaque(false);

    }


}
